#ifndef MJSON_H
#define MJSON_H

#include<QString>
class MJson
{
public:
    MJson();
    QString toJSON();
    static  MJson parseFromJsonString(const QString json);

    int getCode()const;
    QString getKeyMustString()const;
    void setCode(int code);
    void setKeyMustString(QString str);

private:
    int code;
    QString key_must_string;
};

#endif // MJSON_H
